using System;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.ComponentModel;
using System.Data.SqlClient;
using System.Web.Configuration;

public class Diary
{

    public static void InsertDiary(string userName, string firstName, string lastName)
    {
        string connStr = WebConfigurationManager.ConnectionStrings["cnnDiaryDB"].ConnectionString;
        SqlConnection diaryConn = new SqlConnection(
    }

    public static int GetDiaryIDByUserName(string userName)
    {
        throw new System.NotImplementedException();
    }
}
